/**
 * ProjectName doctor
 * FileName Main.java
 * PackageName doctor
 * Date 2017年6月19日 下午4:16:40
 * Copyright (c) 2015, lyg945@163.com All Rights Reserved.
 */
package doctor;

import org.apache.tomcat.util.security.MD5Encoder;
import org.springframework.util.DigestUtils;

import com.doctor.entity.SSmsRecord;
import com.doctor.utils.MD5Kit;
import com.doctor.utils.SmsUtils;

/**
 * @ClassName Main 
 * @Function TODO
 * @Date  2017年6月19日 下午4:16:40
 * @author 刘永刚
 * @version V1.00 
 * @since JDK 1.8  
 * @see
 */
public class Main {
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		SmsUtils util = new SmsUtils("15301807641", "{\"code\":\"123456\"}");
//		SSmsRecord ssm = util.send("15301807641", "15301807641");
//		System.out.println(ssm.getResponseMessage());
		System.out.println(util.queryRemainingCount());

//		System.out.println(Math.round(Math.random()*1000000));
		
		
	}
	


}
